<!-- 入库验收 -->
<top-title title="入库验收" icon="am-icon-user"></top-title>

<div class="am-padding-horizontal-sm am-padding-top ng-scope">
  	<div class="am-panel-hd" style="background-color: #e5e8e1;">
  		<h3 class="mh-margin-none am-text-truncate">入库验收</h3>
  	</div>

  	<div class="am-panel am-panel-default ng-isolate-scope ng-valid">
    	<ul class="am-list mh-margin-none">
    		<li class="am-g">
    			<div style="margin: 10px;">
	    			<h4 class="am-u-sm-4">材料名称</h4>
	    			<span class="am-u-sm-8">{{feed.mms[feed.mmsIndex].material.name}}</span>
    			</div>
    		</li>
    		<li class="am-g">
    			<div style="margin: 10px;">
	    			<h4 class="am-u-sm-4">申请数量</h4>
	    			<span class="am-u-sm-8">{{feed.mms[feed.mmsIndex].amount}}{{feed.mms[feed.mmsIndex].material.unit}}</span>
    			</div>
    		</li>
    		<li class="am-g">
    			<div style="margin: 10px;">
	    			<h4 class="am-u-sm-4">到场编号</h4>
	    			<div class="am-u-sm-8" style="float: left;">
	    				<input type="text" class="form-control" ng-model="code">
	    			</div>
	    		</div>
    		</li>
    		<li class="am-g">
    			<div style="margin: 10px;">
	    			<h4 class="am-u-sm-4">到场数量</h4>
	    			<div class="am-u-sm-6" >
	    				<input type="text"  class="form-control" ng-model="account">
	    			</div>
	    			<div class="am-u-sm-2" style="margin-left: -25%;">
						 {{feed.mms[feed.mmsIndex].material.unit}}
	    			</div>
	    		</div>
    		</li>
    		<li class="am-g">
    			<div style="margin: 10px;">
	    			<h4 class="am-u-sm-4">验收说明</h4>
	    			<div class="am-u-sm-8">
	    				<textarea name="des" style="100%" class="form-control" ng-model="des" rows="3"></textarea>
	    			</div>
	    		</div>
    		</li>
    		<li class="am-g">
    			<div style="margin: 10px;">
	    			<h4 class="am-u-sm-4">附件上传</h4>
	    			<div class="am-u-sm-8">
		    			<input type="file" accept="image/*;capture=camera" id="img1" class="am-input-sm am-radius am-form-field" ngf-select="onFileSelect($files)">
	    			</div>
	    		</div>
    		</li>
    		<li>
    			<div>
    				<button class="am-btn am-btn-block am-btn-sm am-margin-vertical-sm am-btn-primary am-radius mh-lightgreen" ng-click="postWarehouse()">提交</button>
    			</div>
    		</li>
    	</ul>
  	</div>
</div>